<template>
	<view class="showpage" @click="navigateBack">
		<span>若未能自动返回，可点击此处返回</span>
	</view>
</template>
<script>
	import {
		getDefData,
		getUserList,
		meetAdd
	} from '@/api/roomApi.js'
	import {
		choosePeople
	} from "@/config/help/index.js"
	export default {
		data() {
			return {
				areaArr: [],
				lists: []
			}
		},

		onReady() {
			this.saveData();
		},
		onHide() {

		},
		computed: {

		},
		updated: function() {

		},
		methods: {
			navigateBack() {
				uni.navigateBack();
			},
			async saveData() {
				var sel_user_ids = uni.getStorageSync('sel_user_ids').split(',');
				console.log('选择人员11'+uni.getStorageSync('sel_user_ids'));
					console.log(sel_user_ids);
				const res = await choosePeople(sel_user_ids)
				uni.setStorageSync('sel_user_list', res);
				uni.navigateBack();
			},
		},

	}
</script>
<style lang="scss" scoped>
	.showpage {
		width: 100vw;
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 24rpx;
	}
</style>
